.back {
  height: 200rpx;
}

.sub-back {
  position: fixed;
  top: 120rpx;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #f7f7f7;
  z-index: -1;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 24rpx;
  background-color: #ffffff;
  padding: 24rpx;
  border-radius: 8rpx;
  box-shadow: 0 0 40rpx 8rpx #00000010;
  z-index: 1;

  .line {
    padding: 18rpx 0;

    &:first-child {
      border-bottom: 1px solid #eeeeee;
    }

    .ipt {
      flex: 1;
    }

    .item {
      flex: 1;
      border-right: 1px solid #eeeeee;
      padding: 0 24rpx;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16rpx;
      font-size: 24rpx;
      font-weight: 400;

      &:last-child {
        border-right: none;
      }
    }
  }
}

.jobs {
  margin-top: 240rpx;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;

  .job {
    margin-top: 20rpx;
    margin-bottom: 10rpx;
    width: 44%;
    background-color: #ffffff;
    border-radius: 18rpx;
    overflow: hidden;
    transition: 300ms;

    .head {
      width: 100%;
      height: 240rpx;
    }

    .info {
      padding: 12rpx;

      .title {
        height: 1.6em;
        font-size: 29rpx;
        font-weight: 600;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      .desc {
        font-size: 22rpx;
        color: #808080;
        line-height: 1.5em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      .tail {
        padding: 10rpx;
        display: flex;
        align-items: center;

        .label {
          font-size: 22rpx;
          font-weight: 600;
          color: white;
          padding: 4rpx 24rpx 4rpx 24rpx;
          background: linear-gradient(to right, #f6d365, #fda085);
          clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%, 10% 50%);
          font-style: italic;
        }

        .state {
          margin-left: auto;
        }
      }
    }
  }

  .job:active {
    background-color: white;
  }
}